how to take common in maths